home *** CD-ROM | disk | FTP | other *** search
Unknown | 1995-09-20 | 1.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| GW-BASIC (document/gwBasic)
| ext
| Supported |
66%
| dexvert
| GFA-BASIC Atari (other/gfaBASICAtari)
| ext
| Supported |
1%
| dexvert
| Amiga BASIC Protected File (other/amigaBASICProtectedFile)
| ext
| Unsupported |
1%
| dexvert
| BAS VBDOS Pro 1.0 Source (other/basVBDOSPro10Source)
| ext
| Unsupported |
1%
| dexvert
| Visual Basic Tokenized Source (other/visualBasicTokenizedSource)
| ext
| Unsupported |
1%
| dexvert
| ZBASIC (other/zbasic)
| ext
| Unsupported |
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| c1 04 00 00 0d 0a 27 20 | 53 74 61 74 73 0d 0a 27 |......' |Stats..'|
|00000010| 20 43 6f 75 6e 74 20 73 | 69 6e 67 6c 65 20 70 61 | Count s|ingle pa|
|00000020| 6c 65 74 74 65 20 6f 63 | 63 75 72 65 6e 63 65 0d |lette oc|curence.|
|00000030| 0a 0d 0a 27 20 49 6e 70 | 75 74 3a 09 38 20 62 69 |...' Inp|ut:.8 bi|
|00000040| 74 0d 0a 27 20 4f 75 74 | 70 75 74 3a 09 64 69 73 |t..' Out|put:.dis|
|00000050| 70 6c 61 79 0d 0a 0d 0a | 27 20 41 75 74 68 6f 72 |play....|' Author|
|00000060| 3a 09 41 6e 64 72 65 61 | 20 42 65 6e 6f 6e 69 09 |:.Andrea| Benoni.|
|00000070| 09 09 20 72 65 76 3a 09 | 31 2e 31 0d 0a 0d 0a 0d |.. rev:.|1.1.....|
|00000080| 0a 73 74 72 69 6e 67 20 | 20 20 20 09 69 6e 70 46 |.string | .inpF|
|00000090| 69 6c 65 0d 0a 44 65 76 | 43 6f 6e 09 49 62 6d 70 |ile..Dev|Con.Ibmp|
|000000a0| 2c 4f 62 6d 70 0d 0a 52 | 47 42 09 70 69 78 0d 0a |,Obmp..R|GB.pix..|
|000000b0| 66 6c 6f 61 74 20 20 09 | 78 2c 79 2c 70 2c 74 2c |float .|x,y,p,t,|
|000000c0| 73 74 61 74 5b 32 35 36 | 5d 0d 0a 0d 0a 69 6e 70 |stat[256|]....inp|
|000000d0| 46 69 6c 65 3d 22 54 65 | 73 74 69 2e 62 6d 70 22 |File="Te|sti.bmp"|
|000000e0| 09 09 09 09 27 20 69 6e | 70 75 74 20 66 69 6c 65 |....' in|put file|
|000000f0| 0d 0a 0d 0a 49 62 6d 70 | 3d 4c 6f 61 64 49 6d 61 |....Ibmp|=LoadIma|
|00000100| 67 65 28 69 6e 70 46 69 | 6c 65 29 09 09 09 09 27 |ge(inpFi|le)....'|
|00000110| 20 6c 65 67 67 65 20 6c | 27 69 6d 6d 61 67 69 6e | legge l|'immagin|
|00000120| 65 0d 0a 4f 62 6d 70 3d | 43 72 65 61 74 65 49 6d |e..Obmp=|CreateIm|
|00000130| 61 67 65 28 31 31 30 2c | 35 31 32 2c 49 62 6d 70 |age(110,|512,Ibmp|
|00000140| 2e 42 69 74 43 6f 75 6e | 74 29 0d 0a 0d 0a 69 66 |.BitCoun|t)....if|
|00000150| 28 28 49 62 6d 70 2e 42 | 69 74 43 6f 75 6e 74 3d |((Ibmp.B|itCount=|
|00000160| 38 29 29 09 09 09 09 27 | 20 69 66 20 38 20 62 69 |8))....'| if 8 bi|
|00000170| 74 20 63 6f 70 79 20 70 | 61 6c 65 74 74 65 0d 0a |t copy p|alette..|
|00000180| 20 20 46 6f 72 20 79 3d | 30 20 74 6f 20 32 35 35 | For y=|0 to 255|
|00000190| 0d 0a 20 20 20 20 20 70 | 69 78 3d 47 65 74 50 61 |.. p|ix=GetPa|
|000001a0| 6c 65 74 74 65 28 49 62 | 6d 70 2c 79 29 0d 0a 20 |lette(Ib|mp,y).. |
|000001b0| 20 20 20 20 53 65 74 50 | 61 6c 65 74 74 65 28 4f | SetP|alette(O|
|000001c0| 62 6d 70 2c 79 2c 70 69 | 78 29 0d 0a 20 20 4e 65 |bmp,y,pi|x).. Ne|
|000001d0| 78 74 20 79 0d 0a 65 6c | 73 65 0d 0a 20 20 20 44 |xt y..el|se.. D|
|000001e0| 73 70 4d 65 73 28 22 4e | 6f 74 20 61 20 38 20 62 |spMes("N|ot a 8 b|
|000001f0| 69 74 20 63 6f 6c 6f 72 | 20 69 6d 61 67 65 22 29 |it color| image")|
|00000200| 0d 0a 20 20 20 72 65 74 | 75 72 6e 0d 0a 45 6e 64 |.. ret|urn..End|
|00000210| 69 66 0d 0a 0d 0a 46 6f | 72 20 79 3d 30 20 74 6f |if....Fo|r y=0 to|
|00000220| 20 49 62 6d 70 2e 48 65 | 69 67 68 74 2d 31 0d 0a | Ibmp.He|ight-1..|
|00000230| 20 20 20 69 66 28 79 25 | 31 30 3d 30 29 0d 0a 20 | if(y%|10=0).. |
|00000240| 20 20 20 20 20 44 73 70 | 57 68 69 6c 65 28 22 43 | Dsp|While("C|
|00000250| 6f 75 6e 74 69 6e 67 22 | 2c 31 30 30 2f 49 62 6d |ounting"|,100/Ibm|
|00000260| 70 2e 48 65 69 67 68 74 | 2a 79 29 0d 0a 20 20 20 |p.Height|*y).. |
|00000270| 65 6e 64 69 66 0d 0a 20 | 20 20 46 6f 72 20 78 3d |endif.. | For x=|
|00000280| 30 20 74 6f 20 49 62 6d | 70 2e 57 69 64 74 68 2d |0 to Ibm|p.Width-|
|00000290| 31 0d 0a 20 20 20 20 20 | 20 20 70 3d 47 65 74 50 |1.. | p=GetP|
|000002a0| 69 78 65 6c 56 61 6c 28 | 49 62 6d 70 2c 78 2c 79 |ixelVal(|Ibmp,x,y|
|000002b0| 29 0d 0a 20 20 20 20 20 | 20 73 74 61 74 5b 70 5d |).. | stat[p]|
|000002c0| 3d 73 74 61 74 5b 70 5d | 2b 31 0d 0a 20 20 20 4e |=stat[p]|+1.. N|
|000002d0| 65 78 74 20 78 0d 0a 4e | 65 78 74 20 79 0d 0a 0d |ext x..N|ext y...|
|000002e0| 0a 70 69 78 2e 4c 75 6d | 3d 32 35 35 0d 0a 46 6f |.pix.Lum|=255..Fo|
|000002f0| 72 20 79 3d 30 20 74 6f | 20 35 31 30 0d 0a 20 20 |r y=0 to| 510.. |
|00000300| 20 69 66 28 79 25 31 30 | 3d 30 29 0d 0a 20 20 20 | if(y%10|=0).. |
|00000310| 20 20 20 44 73 70 57 68 | 69 6c 65 28 22 50 72 65 | DspWh|ile("Pre|
|00000320| 70 61 72 65 20 6f 75 74 | 22 2c 31 30 30 2f 4f 62 |pare out|",100/Ob|
|00000330| 6d 70 2e 48 65 69 67 68 | 74 2a 79 29 0d 0a 20 20 |mp.Heigh|t*y).. |
|00000340| 20 65 6e 64 69 66 0d 0a | 20 20 20 46 6f 72 20 78 | endif..| For x|
|00000350| 3d 30 20 74 6f 20 31 30 | 30 0d 0a 20 20 20 20 20 |=0 to 10|0.. |
|00000360| 20 20 53 65 74 50 69 78 | 65 6c 28 4f 62 6d 70 2c | SetPix|el(Obmp,|
|00000370| 78 2c 79 2c 70 69 78 29 | 0d 0a 20 20 20 4e 65 78 |x,y,pix)|.. Nex|
|00000380| 74 20 78 0d 0a 4e 65 78 | 74 20 79 0d 0a 0d 0a 74 |t x..Nex|t y....t|
|00000390| 3d 30 0d 0a 46 6f 72 20 | 79 3d 30 20 74 6f 20 32 |=0..For |y=0 to 2|
|000003a0| 35 35 0d 0a 20 20 20 69 | 66 28 73 74 61 74 5b 79 |55.. i|f(stat[y|
|000003b0| 5d 3e 74 29 0d 0a 20 20 | 20 20 20 20 74 3d 73 74 |]>t).. | t=st|
|000003c0| 61 74 5b 79 5d 0d 0a 20 | 20 20 45 6e 64 69 66 0d |at[y].. | Endif.|
|000003d0| 0a 4e 65 78 74 20 79 0d | 0a 0d 0a 46 6f 72 20 79 |.Next y.|...For y|
|000003e0| 3d 30 20 74 6f 20 35 31 | 30 0d 0a 20 20 20 69 66 |=0 to 51|0.. if|
|000003f0| 28 79 25 31 30 3d 30 29 | 0d 0a 20 20 20 20 20 20 |(y%10=0)|.. |
|00000400| 44 73 70 57 68 69 6c 65 | 28 22 50 72 65 70 61 72 |DspWhile|("Prepar|
|00000410| 65 20 67 72 61 70 68 22 | 2c 31 30 30 2f 4f 62 6d |e graph"|,100/Obm|
|00000420| 70 2e 48 65 69 67 68 74 | 2a 79 29 0d 0a 20 20 20 |p.Height|*y).. |
|00000430| 65 6e 64 69 66 0d 0a 20 | 20 20 46 6f 72 20 78 3d |endif.. | For x=|
|00000440| 30 20 74 6f 20 73 74 61 | 74 5b 79 2f 32 5d 2f 74 |0 to sta|t[y/2]/t|
|00000450| 2a 31 30 30 0d 0a 20 20 | 20 20 20 20 20 53 65 74 |*100.. | Set|
|00000460| 50 69 78 65 6c 56 61 6c | 28 4f 62 6d 70 2c 78 2c |PixelVal|(Obmp,x,|
|00000470| 79 2c 79 2f 32 29 0d 0a | 20 20 20 4e 65 78 74 20 |y,y/2)..| Next |
|00000480| 78 0d 0a 4e 65 78 74 20 | 79 0d 0a 0d 0a 50 72 65 |x..Next |y....Pre|
|00000490| 76 69 65 77 28 4f 62 6d | 70 2c 69 6e 70 46 69 6c |view(Obm|p,inpFil|
|000004a0| 65 2c 35 2c 35 29 0d 0a | 44 73 70 57 68 69 6c 65 |e,5,5)..|DspWhile|
|000004b0| 28 22 22 2c 30 29 0d 0a | 44 73 70 4d 65 73 28 22 |("",0)..|DspMes("|
|000004c0| 45 6e 64 22 29 | |End") | |
+--------+-------------------------+-------------------------+--------+--------+